<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>课程学习问答系统</title>
    <script src="../static/js/jquery/jquery-2.1.4.min.js" type="text/javascript"></script>
    <script src="../static/layui/layui.js" type="text/javascript"></script>
    <script src="../static/js/index/index.js" type="text/javascript"></script>
    <script src="../static/js/index/freezeheader.js" type="text/javascript"></script>
    <script src="../static/layui/lay/modules/layer.js" type="text/javascript"></script>
    <script src="../static/js/index/sliders.js" type="text/javascript"></script>
    <script src="../static/js/index/html5.js" type="text/javascript"></script>
    <link rel="stylesheet" href="../static/layui/css/layui.css" media="all"/>
    <link rel="stylesheet" href="../static/layui/css/modules/layer/default/layer.css"/>
    <link rel="stylesheet" href="../static/css/global.css"/>
    <script type="text/javascript" src="./myplugs/js/plugs.js"></script>

</head>

<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo">课程学习问答系统</div>
        <!-- 头部区域（可配合layui已有的水平导航） -->

        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <img src="https://unsplash.it/100/100?image=1005" class="layui-nav-img"> 管理员
                </a>
                <dl class="layui-nav-child">
                    <dd>
                        <a href="/admin/logout">退了</a>
                    </dd>
                </dl>
            </li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree" lay-filter="test">
                <li class="layui-nav-item layui-nav-itemed">
                    <a class="" href="javascript:;">菜单栏</a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="teacher.jsp" target="right">教师信息管理</a>
                        </dd>
                        <dd>
                            <a href="student.jsp" target="right">学生信息管理</a>
                        </dd>
                        <dd>
                            <a href="question.jsp" target="right">问题信息管理</a>
                        </dd>
                        <dd>
                            <a href="passage.jsp" target="right">文章信息管理</a>
                        </dd>
                        <dd>
                            <a href="answer.jsp" target="right">回答信息管理</a>
                        </dd>
                        <dd>
                            <a href="comment.jsp" target="right">评论信息管理</a>
                        </dd>
                        <dd>
                            <a href="user.jsp" target="right">管理员管理</a>
                        </dd>
                        <dd>
                            <a href="result.jsp" target="right">问题柱状统计</a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>
    <div class="layui-body" style="z-index: 0;">
        <!-- 内容主体区域 -->
        <div style="padding: 15px;">
            <iframe src="welcome.jsp" name="right" frameborder="0" width="100%" height="1200"></iframe>
        </div>
    </div>
    <!-- 底部固定区域 -->
    <div class="footer">
        <hr class="layui-bg-red">
        <p>课程学习问答系统 2021 &copy; </p>
        <p>课程学习问答系统</p>
    </div>
</div>
<script type="text/javascript">
    function test() {
        window.location.reload();
    }
</script>
</body>
</html>